<?php
/**
 * 模拟一个观察者2
 */

namespace App\DesignPattern\Observer;

use App\DesignPattern\Observer\Observer;


class Observer2 implements Observer
{
    
    public function eventResponse($event)
    {
        echo '我是观察者2<br/>';
        echo "{$event}<br/>";
    }
}